import Vue from 'vue'
import App from './App.vue'
import router from './router'
import axios from 'axios'

import './assets/fonts/iconfont.css'
// 导入全局样式文件
import './assets/css/global.css'

import ElementUI from 'element-ui'; 
import 'element-ui/lib/theme-chalk/index.css';
import { Message } from 'element-ui'
Vue.config.productionTip = false
Vue.prototype.$http = axios
//挂载对话框到Vue
Vue.prototype.$message = Message

//axios基础访问路径配置
axios.defaults.baseURL = 'http://localhost:58360/api/'
Vue.use(ElementUI);//使用组件

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
